import { useState } from 'react'
import Home from './components/Home';
import Com from './components/Com';
import Reducer from './components/Reducer';
import Context from './components/Context';
import './App.css';

function App() {
  const [flag, setFlag] = useState(true)
  return (
    <div className="App">
      <Context/>
      {/* {
        flag? <Com/>: ""
      }
      <button onClick = {() => {
        setFlag(false)
      }}>隐藏</button> */}
    </div>
  );
}

export default App;
